package com.yp.infrastructure.mdb.exception;

import com.yp.infrastructure.common.exception.BaseException;
import com.yp.infrastructure.common.exception.ErrorMessage;

/**
 * 数据持久化异常
 */

public class PersistentException extends BaseException {

    public PersistentException(ErrorMessage errorMessage) {
        super(errorMessage);
    }


    public PersistentException(EnumErrorMessage sqlError, Exception e) {
        super(sqlError, e);
    }
}